package com.qianduo.exception;

import com.qianduo.util.Constants;

@SuppressWarnings("serial")
public class ServiceException extends Exception {
	public ServiceException() {
	}

	public ServiceException(String message) {
		super(message);
		Constants.log.error(message);		
	}

	public ServiceException(Throwable cause) {
		super(cause);
		Constants.log.error(cause);
	}

	public ServiceException(String message, Throwable cause) {
		super(message, cause);
		Constants.log.error(message,cause);
	}

}
